// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import './plugins/axios'
import App from './App'
import router from './router'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import qs from 'qs'

import DemandMatrixBody from './components/DemandMatrixBody'
import DemandReviewBody from './components/DemandReviewBody'
import DemandManageHead from  './components/DemandManageHead'
import store from './store'

Vue.use(ElementUI)
Vue.config.productionTip = false
Vue.prototype.$qs = qs

Vue.component('DemandMatrixBody', DemandMatrixBody)
Vue.component('DemandReviewBody', DemandReviewBody)
Vue.component('DemandManageHead', DemandManageHead)
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>',
  store,
  render: h => h(App)
})
